
 
public abstract class Vehicle {
	protected String regNum;
	protected String makeDescription;
	protected String modelDescription;
	protected String regOwnerName;
	protected String regOwnerAdderss;
	protected Boolean regStatus;
	public Vehicle(String rego, String make, String model, String ownername, String address, Boolean status)
	{
		this.regNum = rego;
		this.makeDescription = make;
		this.modelDescription = model;
		this.regOwnerName = ownername;
		this.regOwnerAdderss = address;
		this.regStatus = status;
	}
	public Vehicle(String rego, String make, String model, String ownername, String address, String status)
	{
		this.regNum = rego;
		this.makeDescription = make;
		this.modelDescription = model;
		this.regOwnerName = ownername;
		this.regOwnerAdderss = address;
		if(status == "current")
			this.regStatus = true;
		else 
			this.regStatus =false;
	}
	public String toString()
	{
		return "";
	}
	public double calculateRego()
	{
		return 0;
	}
	public String GetregNum()
	{
		return regNum;	
	}
	public String GetmakeDescription() {
		return makeDescription;
	}
	public String GetmodelDescription() {
		return modelDescription;
	}
	public String GetregOwnerName()
	{
		return regOwnerName;
	}
	public String GetregOwnerAddress() {
		return regOwnerAdderss;
	}
	public Boolean GetregStatus() {
		return regStatus;
	}

	public void SetregStatus(boolean regStatus) {
		this.regStatus = regStatus;
	}
}
